package com.ihisomp.service;

import com.ihisomp.base.Result;
import com.ihisomp.dto.SysDictionaryDto;
import com.ihisomp.entity.SysDictionary;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 系统公用字典 服务类
 * </p>
 *
 * @author zhangyong
 * @since 2021-12-21
 */
public interface ISysDictionaryService extends IService<SysDictionary> {

    Result selectList(String parentDictionaryKey);

    Result add(SysDictionaryDto sysDictionaryDto);

    Result delete(String dictionaryKey);

    Result update(String dictionaryKey, SysDictionaryDto sysDictionaryDto);

    Result get(String dictionaryKey);

    Result search(long page, long size, SysDictionaryDto sysDictionaryDto);

    Result selectParentDataList();

}
